package DB_Layer;

import Model_Layer.*;
import java.util.*;

public interface IFDB_Part_order {

	//Get all Part orders
	public ArrayList <Part_Order> getAllPartOrders(boolean retriveAssociation);
	//Get one Part order having the partID
	public Part_Order findPart_Order (int id, boolean retriveAssociation);
	
	//Get one Part order having the customer id and product id
	public Part_Order searchPart_Order(int cusID, int proID, boolean retriveAssociation);
	
	//Insert a new Part order
	public int insertPartOrder(Part_Order po) throws Exception;
	
	//Update Part order
	public int updatePartOrder(Part_Order po);
	
}
